from django.conf.urls.defaults import patterns, include, url

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('bstronger.app.views',
    #url(r'^$', 'index'),
    url(r'^app/', include('bstronger.app.urls')),
    url(r'app/programs/', include('bstronger.app.programs.urls')),
    url(r'app/exercises/', include('bstronger.app.exercises.urls')),
    url(r'app/profile/', include('bstronger.app.profile.urls')),
)

# administration section
urlpatterns += patterns('',
    url(r'^admin/', include(admin.site.urls)),
)
